from typing import Iterable, Any

import scrapy


class QuotesSpider(scrapy.Spider):
    name = "quotes"
    # allowed_domains = ["baidu.com"]
    start_urls = ["https://quotes.toscrape.com/"]



    def parse(self, response):
        print(response.status)
        content = response.css('header-box h1 a::text').get()
        print(content)
